package com.tongfusoft.example.service.impl;

import java.util.Map;

import com.tongfusoft.exception.ServiceException;
import com.tongfusoft.web.core.annotation.LogDesc;
import com.tongfusoft.web.core.data.DFileInfo;
import com.tongfusoft.web.core.data.User;
import com.tongfusoft.web.core.service.IDownLoadFileService;

public class DownLoadFileServiceImpl implements IDownLoadFileService {

	@Override
	@LogDesc(value="说明书",expression="beanId",recordObjIndex=0)
	/**
	 * param request中的参数
	 * User 当前登录用户
	 */
	public DFileInfo downLoadFileInfo(Map param, User user) {
		// TODO Auto-generated method stub
		/**
		 * 获取下载文件路径及文件名
		 */
		DFileInfo df = new DFileInfo();
		df.setFileName("aa1a.txt");
		df.setFilePath("d:\\aaa.txt");
		
		
		throw new ServiceException("test");
//		return df;
	}

}
